Skip to content

redis: support REDIS_POOL_ON_EMPTY_BEHAVIOR=ERROR - #1299

Merged
psbrar99 merged 1 commit into
envoyproxy:mainfrom
nacx:pr/h-pool-on-empty-error
Nov 9, 2026
Merged

psbrar99 merged 1 commit into
envoyproxy:mainfrom
nacx:pr/h-pool-on-empty-error

Conversation

@nacx

@nacx nacx commented Nov 4, 2026

Copy link
Copy Markdown
Member

Since the move to radix v4, REDIS_POOL_ON_EMPTY_BEHAVIOR=ERROR (and CREATE) panics at startup, leaving WAIT, an unbounded wait, as the only usable value, and the README still documented the radix v3 behavior.

With a fixed-size radix v4 pool and pipelines sharing connections, a command only waits for a connection when the pool has none, i.e. when Redis is unreachable and the pool is re-dialing. That wait is now bounded by the request deadline (WAIT). ERROR is supported again and makes such commands fail right away. CREATE still refuses to start, since radix v4 cannot create overflow connections.

Since the move to radix v4, REDIS_POOL_ON_EMPTY_BEHAVIOR=ERROR (and
CREATE) panics at startup, leaving WAIT, an unbounded wait, as the only
usable value, and the README still documented the radix v3 behavior.

With a fixed-size radix v4 pool and pipelines sharing connections, a
command only waits for a connection when the pool has none, i.e. when
Redis is unreachable and the pool is re-dialing. That wait is now
bounded by the request deadline (WAIT). ERROR is supported again and
makes such commands fail right away. CREATE still refuses to start,
since radix v4 cannot create overflow connections.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Ignasi Barrera <ignasi@tetrate.io>
@nacx
nacx force-pushed the pr/h-pool-on-empty-error branch from 25d898a to 34a4bd5 Compare November 9, 2026 15:02
@psbrar99
psbrar99 merged commit 1269468 into envoyproxy:main Nov 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants